package com.huixue.cn.ztej.dao;

import java.util.List;
import java.util.Map;

import com.huixue.cn.ztej.bean.Mechanical;
import com.huixue.cn.ztej.utils.annotation.MyBatisRepository;

@MyBatisRepository
public interface MechanicalMapper {

	public void saveMechanical(Mechanical mechanical);
	
	public void update(Mechanical mechanical);
	
	public List<Mechanical> listMechanicalPage(Map<String, Object> searchParams);
	
	public List<Mechanical> listMechanicalType(Integer type);
	
	public Mechanical findById(Integer id);
	
	public void delete(Integer id);
}
